package Damain;

import java.io.Serializable;

/*
 *实体类
 * 根据数据库员工表单创建
 * */
public class emp implements Serializable {
    //主键
    private Integer id;
    //员工姓名
    private String ename;
    //年龄
    private Integer age;
    //性别
    private String sex;
    //工资
    private Integer sal;
    //生日
    private String birthday;
    //入职时间
    private String edate;


    public emp() {

    }

    public emp(Integer id, String ename, Integer age, String sex, Integer sal, String birthday, String edate) {
        this.id = id;
        this.ename = ename;
        this.age = age;
        this.sex = sex;
        this.sal = sal;
        this.birthday = birthday;
        this.edate = edate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getSal() {
        return sal;
    }

    public void setSal(Integer sal) {
        this.sal = sal;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEdate() {
        return edate;
    }

    public void setEdate(String edate) {
        this.edate = edate;
    }
}